/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package cn.eclass.entity;

/**
 *
 * @author Administrator
 */
public class UserEntity implements Entity{

    private int id;
    private String username;
    private String email;
    private String password;
    private String pwdQuestion = "";
    private String pwdAnswer = "";
    private String telephone = "";
    private int points = 0;
    private long lastLoginTime;

    
    public long getLastLoginTime() {
		return lastLoginTime;
	}
    public void setLastLoginTime(long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the pwdQuestion
     */
    public String getPwdQuestion() {
        return pwdQuestion;
    }

    /**
     * @param pwdQuestion the pwdQuestion to set
     */
    public void setPwdQuestion(String pwdQuestion) {
        this.pwdQuestion = pwdQuestion;
    }

    /**
     * @return the pwdAnswer
     */
    public String getPwdAnswer() {
        return pwdAnswer;
    }

    /**
     * @param pwdAnswer the pwdAnswer to set
     */
    public void setPwdAnswer(String pwdAnswer) {
        this.pwdAnswer = pwdAnswer;
    }

    /**
     * @return the telephone
     */
    public String getTelephone() {
        return telephone;
    }

    /**
     * @param telephone the telephone to set
     */
    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    /**
     * @return the points
     */
    public int getPoints() {
        return points;
    }

    /**
     * @param points the points to set
     */
    public void setPoints(int points) {
        this.points = points;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }
}
